How to do factorise by two squares